-- GENERATED SPELL FOR [Marauding Owlbeast] --


function spell0_7808(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_7808', 596, 1)
end

function Sorts_7808(pUnit, Event)
local choix_sorts_7808 = math.random(0, 0)
if choix_sorts_7808 == 0 then
pUnit:RegisterEvent('spell0_7808', 1, 1)
end
end

function mob7808_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7808', math.random(1500, 3000), 1)
end

function mob7808_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7808_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7808_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7808, 1, 'mob7808_Action')
RegisterUnitEvent(7808, 2, 'mob7808_Leave')
RegisterUnitEvent(7808, 3, 'mob7808_Kill')
RegisterUnitEvent(7808, 4, 'mob7808_Die')
